#pragma once

#include "../umlmodel_global.h"

#include "UMLDiagramWithAssociations.h"

namespace uml {

/// <summary>
/// UMLStructureDiagram
/// The most general class for UMLDiagrams depicting structural elements.
/// </summary>
class UMLMODEL_EXPORT UMLStructureDiagram : public UMLDiagramWithAssociations {

public: // Constructors and destructors
    explicit UMLStructureDiagram(const QString& umlType="uml::UMLStructureDiagram");

public: // JsonSerializable override
    void fromJson(const QJsonObject& json, QStringList& errorList) override;
    void toJson(QJsonObject& json) override;

};

} // namespace uml
